#ifndef __RESOURCES_H
#define __RESOURCES_H

//  Big digits
// Size: 14 x 34
static const uint8_t big_digits[] = {
		// 0
		0xFC,0xFE,0xFF,0xFF,0x1F,0x0F,0x0F,0x0F,0x0F,0x1F,0xFF,0xFF,0xFE,0xFC,
		0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,
		0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,
		0xFF,0xFF,0xFF,0xFF,0xE0,0xC0,0xC0,0xC0,0xC0,0xE0,0xFF,0xFF,0xFF,0xFF,
		0x00,0x01,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x01,0x00,
		// 1
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFE,0xFC,0x00,0x00,
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,0x00,0x00,
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,0x00,0x00,
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,0x00,0x00,
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x01,0x00,0x00,0x00,
		// 2
		0x0C,0x0E,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x1F,0xFF,0xFF,0xFE,0xFC,
		0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0xC0,0xFF,0xFF,0xFF,0xFF,
		0xFE,0xFF,0xFF,0xFF,0x0F,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x03,0x01,
		0xFF,0xFF,0xFF,0xFF,0xE0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,
		0x00,0x01,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x01,0x00,
		// 3
		0x0C,0x0E,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x1F,0xFF,0xFF,0xFE,0xFC,
		0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0xFF,0xFF,0xFF,0xFF,
		0x00,0x00,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFF,0xFC,
		0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xE0,0xFF,0xFF,0xFF,0xFF,
		0x00,0x01,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x01,0x00,
		// 4
		0xFC,0xFE,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFE,0xFC,
		0xFF,0xFF,0xFF,0xFF,0xC0,0x80,0x80,0x80,0x80,0x80,0xFF,0xFF,0xFF,0xFF,
		0x01,0x03,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFF,0xFF,
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x01,0x00,
		// 5
		0xFC,0xFE,0xFF,0xFF,0x1F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0E,0x0C,
		0xFF,0xFF,0xFF,0xFF,0xC0,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,
		0x01,0x03,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x0F,0xFF,0xFF,0xFF,0xFE,
		0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xE0,0xFF,0xFF,0xFF,0xFF,
		0x00,0x01,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x01,0x00,
		// 6
		0xFC,0xFE,0xFF,0xFF,0x1F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0E,0x0C,
		0xFF,0xFF,0xFF,0xFF,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,
		0xFF,0xFF,0xFF,0xFF,0x07,0x07,0x07,0x07,0x07,0x0F,0xFF,0xFF,0xFF,0xFE,
		0xFF,0xFF,0xFF,0xFF,0xE0,0xC0,0xC0,0xC0,0xC0,0xE0,0xFF,0xFF,0xFF,0xFF,
		0x00,0x01,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x01,0x00,
		// 7
		0x0C,0x0E,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x1F,0xFF,0xFF,0xFE,0xFC,
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x01,0x00,
		// 8
		0xFC,0xFE,0xFF,0xFF,0x1F,0x0F,0x0F,0x0F,0x0F,0x1F,0xFF,0xFF,0xFE,0xFC,
		0xFF,0xFF,0xFF,0xFF,0x80,0x80,0x80,0x80,0x80,0x80,0xFF,0xFF,0xFF,0xFF,
		0xFC,0xFF,0xFF,0xFF,0x07,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFF,0xFC,
		0xFF,0xFF,0xFF,0xFF,0xE0,0xC0,0xC0,0xC0,0xC0,0xE0,0xFF,0xFF,0xFF,0xFF,
		0x00,0x01,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x01,0x00,
		// 9
		0xFC,0xFE,0xFF,0xFF,0x1F,0x0F,0x0F,0x0F,0x0F,0x1F,0xFF,0xFF,0xFE,0xFC,
		0xFF,0xFF,0xFF,0xFF,0xC0,0x80,0x80,0x80,0x80,0x80,0xFF,0xFF,0xFF,0xFF,
		0x01,0x03,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFF,0xFF,
		0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xE0,0xFF,0xFF,0xFF,0xFF,
		0x00,0x01,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x01,0x00
};

// Medium digits
// Size: 10 x 22
static const uint8_t mid_digits[] = {
		// 0
		0xFE,0xFF,0xFF,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,
		0x1F,0x3F,0x3F,0x38,0x38,0x38,0x38,0x3F,0x3F,0x1F,
		// 1
		0x00,0x00,0x00,0x00,0x00,0xFE,0xFF,0xFF,0x00,0x00,
		0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,
		0x00,0x00,0x00,0x00,0x00,0x1F,0x3F,0x3F,0x00,0x00,
		// 2
		0x03,0x07,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0xFC,0xFE,0xFE,0x0E,0x0E,0x0E,0x0E,0x0F,0x0F,0x07,
		0x1F,0x3F,0x3F,0x38,0x38,0x38,0x38,0x38,0x38,0x30,
		// 3
		0x03,0x07,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0x00,0x04,0x0E,0x0E,0x0E,0x0E,0x0E,0xFF,0xFF,0xFB,
		0x30,0x38,0x38,0x38,0x38,0x38,0x38,0x3F,0x3F,0x1F,
		// 4
		0xFF,0xFF,0xFE,0x00,0x00,0x00,0x00,0xFE,0xFF,0xFF,
		0x07,0x0F,0x0F,0x0E,0x0E,0x0E,0x0E,0xFF,0xFF,0xFF,
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x3F,0x3F,
		// 5
		0xFE,0xFF,0xFF,0x07,0x07,0x07,0x07,0x07,0x07,0x03,
		0x07,0x0F,0x0F,0x0E,0x0E,0x0E,0x0E,0xFE,0xFE,0xFC,
		0x30,0x38,0x38,0x38,0x38,0x38,0x38,0x3F,0x3F,0x1F,
		// 6
		0xFE,0xFF,0xFF,0x07,0x07,0x07,0x07,0x07,0x07,0x03,
		0xFF,0xFF,0xFF,0x0E,0x0E,0x0E,0x0E,0xFE,0xFE,0xFC,
		0x1F,0x3F,0x3F,0x38,0x38,0x38,0x38,0x3F,0x3F,0x1F,
		// 7
		0x03,0x07,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x3F,0x3F,
		// 8
		0xFE,0xFF,0xFF,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0xFB,0xFF,0xFF,0x0E,0x0E,0x0E,0x0E,0xFF,0xFF,0xFB,
		0x1F,0x3F,0x3F,0x38,0x38,0x38,0x38,0x3F,0x3F,0x1F,
		// 9
		0xFE,0xFF,0xFF,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0x07,0x0F,0x0F,0x0E,0x0E,0x0E,0x0E,0xFF,0xFF,0xFF,
		0x30,0x38,0x38,0x38,0x38,0x38,0x38,0x3F,0x3F,0x1F
};

// Small digits
// Size: 9 x 19
static const uint8_t small_digits[] = {
		// 0
		0xFE,0xFF,0xFF,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0xFF,0xFF,0xFF,0x00,0x00,0x00,0xFF,0xFF,0xFF,
		0x03,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x03,
		// 1
		0x00,0x00,0x00,0x00,0x00,0xFE,0xFF,0xFF,0x00,
		0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,
		0x00,0x00,0x00,0x00,0x00,0x03,0x07,0x07,0x00,
		// 2
		0x03,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0xFE,0xFF,0xFF,0x07,0x07,0x07,0x07,0x07,0x03,
		0x03,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x06,
		// 3
		0x03,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0x00,0x02,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFD,
		0x06,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x03,
		// 4
		0xFF,0xFF,0xFE,0x00,0x00,0x00,0xFE,0xFF,0xFF,
		0x03,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFF,
		0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x07,0x07,
		// 5
		0xFE,0xFF,0xFF,0x07,0x07,0x07,0x07,0x07,0x03,
		0x03,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0x06,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x03,
		// 6
		0xFE,0xFF,0xFF,0x07,0x07,0x07,0x07,0x07,0x06,
		0xFF,0xFF,0xFF,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0x03,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x03,
		// 7
		0x03,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,
		0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x03,
		// 8
		0xFE,0xFF,0xFF,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0xFD,0xFF,0xFF,0x07,0x07,0x07,0xFF,0xFF,0xFD,
		0x03,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x03,
		// 9
		0xFE,0xFF,0xFF,0x07,0x07,0x07,0xFF,0xFF,0xFE,
		0x03,0x07,0x07,0x07,0x07,0x07,0xFF,0xFF,0xFF,
		0x03,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x03
};

// Small sized signs
// Size: 5 x 19
static const uint8_t small_signs[] = {
		// km / h [0]
		0xFF,0x30,0x48,0x84,0x00,
		0xF4,0x84,0x82,0x02,0x00,
		0x07,0x00,0x00,0x07,0x00,
		// RPM [15]
		0xBF,0x89,0x89,0x99,0x26,
		0xDF,0x84,0x04,0x84,0xC3,
		0x07,0x00,0x03,0x00,0x07
};

// Bike man bitmap
// Size: 30 x 25
static const uint8_t bmp_bike_man[] = {
		0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xE0,0xF0,0xF0,
		0xF0,0xE0,0xCE,0x9F,0x1F,0x1F,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
		0x00,0x00,0x80,0xC0,0xE0,0x70,0x30,0x30,0x30,0x30,0x37,0x77,0xE7,0xCF,
		0x9F,0x3D,0xF8,0xF0,0x01,0x83,0xC3,0xE3,0x73,0x33,0x30,0x30,0x30,0x30,
		0x70,0xE0,0xC0,0x80,0x3F,0x7F,0xE0,0xC0,0x84,0x8E,0x9F,0x8E,0x84,0xC0,
		0xE0,0x7F,0x3F,0x00,0x1F,0x1F,0x00,0x3F,0x7F,0xE0,0xC0,0x84,0x8E,0x9F,
		0x8E,0x84,0xC0,0xE0,0x7F,0x3F,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,
		0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,
		0x01,0x01,0x01,0x01,0x01,0x00,0x00,0x00
};

// Pace arrows
// Size: 9 x 13
static const uint8_t bmp_pace_arrow[] = {
		// Up arrow [0]
		0x00,0xC0,0xF0,0xFC,0xFF,0xFC,0xF0,0xC0,0x00,
		0x03,0x03,0x03,0x1F,0x1F,0x1F,0x03,0x03,0x03,
		// Down arrow [18]
		0x18,0x78,0xF8,0xFF,0xFF,0xFF,0xF8,0x78,0x18,
		0x00,0x00,0x01,0x07,0x1F,0x07,0x01,0x00,0x00
};

// km/h bitmap
// Size: 20 x 10
static const uint8_t bmp_kmph[] = {
		0xFE,0x40,0xA0,0x10,0x00,0xF0,0x10,0xF0,0x10,0xE0,0x00,0x00,0xE0,0x1C,
		0x03,0x00,0xFE,0x10,0x10,0xE0,0x01,0x00,0x00,0x01,0x00,0x01,0x00,0x01,
		0x00,0x01,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x01
};

// Icons 13x7
// Size: 13 x 7
static const uint8_t bmp_icon_13x7[] = {
		// Satellite 2D [0]
		0x7F,0x1C,0x3E,0x7F,0x45,0x51,0x7F,0x41,0x5D,0x63,0x3E,0x1C,0x7F,
		// Satellite 3D [13]
		0x7F,0x1C,0x3E,0x7F,0x55,0x41,0x7F,0x41,0x5D,0x63,0x3E,0x1C,0x7F,
		// Satellite NA [26]
		0x7F,0x1C,0x3E,0x7F,0x5D,0x6B,0x77,0x6B,0x5D,0x7F,0x3E,0x1C,0x7F,
		// SPD normal [39]
		0x00,0x2E,0x2A,0x3A,0x00,0x3E,0x0A,0x0E,0x00,0x3E,0x22,0x1C,0x00,
		// SPD inverted [52]
		0x7F,0x51,0x55,0x45,0x7F,0x41,0x75,0x71,0x7F,0x41,0x5D,0x63,0x7F,
		// SPD none [65]
		0x7F,0x7F,0x7F,0x5D,0x49,0x63,0x77,0x63,0x49,0x5D,0x7F,0x7F,0x7F,
		// SD icon [78]
		0x7F,0x7F,0x53,0x55,0x55,0x65,0x7F,0x41,0x5D,0x5D,0x63,0x7F,0x7F,
		// LOG icon [91]
		0x7F,0x41,0x5F,0x5F,0x7F,0x41,0x5D,0x41,0x7F,0x41,0x5D,0x4D,0x7F
};

// Small digits
// Size: 3 x 5
static const uint8_t digits_3x5[] = {
		// 0
		0x1F,0x11,0x1F,
		// 1
		0x00,0x02,0x1F,
		// 2
		0x1D,0x15,0x17,
		// 3
		0x11,0x15,0x1F,
		// 4
		0x0F,0x08,0x1F,
		// 5
		0x17,0x15,0x1D,
		// 6
		0x1E,0x15,0x1C,
		// 7
		0x01,0x19,0x07,
		// 8
		0x1F,0x15,0x1F,
		// 9
		0x07,0x15,0x0F
};

#endif // __RESOURCES_H
